package com.hc.model.code01.test2.before;

/**
 * 正方形的实现
 */
public class Square implements Quadrilateral{

    private int side;

    public int getSide() {
        return side;
    }

    public void setSide(int side) {
        this.side = side;
    }

    @Override
    public double getLength() {
        return side;
    }

    @Override
    public double getWidth() {
        return side;
    }
}
